﻿@model HelloMinasan.Web.Song.ViewModels.EditUserModel

@{
    ViewBag.Title = "Change Password";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1 class="titleNewFont">
    <img src="~/Content/Images/user.png" />
    Update Account</h1>
@using (Html.BeginForm("ChangePassword", "UserManagement", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.ValidationSummary()
    @Html.HiddenFor(x => x.Email);
    <!-- InstanceBeginEditable name="EditRegion2" -->
    <div style="display: table; width: 100%">
        <div class="dockPanelLeft">
            @Html.Partial("Navigation", 1)
        </div>
        <table class="inputForm contentSectionInside" style="width: 700px; float: right; margin-right: 10px;">
            <tbody>
                <tr>
                    <th class="th100" align="left" style="width: 150px;">
                        New Password<span class="requirement">(*)</span>
                    </th>
                    <td>
                        @Html.PasswordFor(m => m.Password, new { style = "width: 50%; padding-left: 5px;", maxlength = 50 })
                    </td>
                </tr>
                <tr>
                    <th class="th100" align="left" style="width: 150px;">
                        @Html.LabelFor(m => m.ConfirmPassword)<span class="requirement">(*)</span>
                    </th>
                    <td>
                        @Html.PasswordFor(m => m.ConfirmPassword, new { style = "width: 50%; padding-left: 5px;", maxlength = 50 })
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td colspan="2">
                        <br />
                        <input type="submit" class="buttonClass" value="Update" />
                        @ViewBag.Message</td>
                </tr>
            </tbody>
        </table>
    </div>
}